home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
EnigmA Amiga Run 1995 November
/
EnigmA AMIGA RUN 02 (1995)(G.R. Edizioni)(IT)[!][issue 1995-11][Skylink CD].iso
/
earcd
/
util
/
arcer
/
gnutar10.lha
/
GnuTAR
/
GNUTarSource.LHA
/
source
/
amiga.c
next >
Wrap
C/C++ Source or Header
|
1991-07-04
|
921b
|
121 lines
/*
* Amiga specific functions
*/
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <sys/dir.h>
#include <sys/stat.h>
#include <time.h>
char *
index(ptr, c)
char *ptr;
char c;
{
return(strchr(ptr, c));
}
char *
rindex(ptr, c)
char *ptr;
char c;
{
return(strrchr(ptr, c));
}
char *
getwd(buf)
char *buf;
{
return(getcwd(buf, MAXPATHLEN));
}
int
readlink(path, name, max)
char *path;
char *name;
{
return(-1);
}
int
lstat(buf, s)
char *buf;
struct stat *s;
{
return(stat(buf, s));
}
int
symlink()
{
return(-1);
}
int
utime()
{
return(0);
}
chmod()
{
return(0);
}
umask()
{
return(0);
}
fork()
{
return(-1);
}
execlp()
{
return(-1);
}
findgid()
{
return(0);
}
finduid()
{
return(0);
}
pipe()
{
return(-1);
}
dup()
{
return(-1);
}
wait()
{
return(-1);
}
int
ftruncate()
{
return(-1);
}
setmode()
{
return(0);
}